Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PowerPages][vscode.dev] Showing Content Snippets Not Having Language Record #1086

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

amitjoshi438
Copy link
Contributor

@amitjoshi438 amitjoshi438 commented Dec 20, 2024

This pull request includes changes to handle cases where language codes are null for content snippets and updates to query parameters in portal schemas. The main changes involve error handling, default language code assignment, and query parameter adjustments.

Error handling and default language code assignment:

Query parameter adjustments:

Additional import:

image

@amitjoshi438 amitjoshi438 requested review from a team as code owners December 20, 2024 11:16
Copy link
Contributor

@ashishchoudhary001 ashishchoudhary001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a similar change for webpages?

@amitjoshi438
Copy link
Contributor Author

Do we need a similar change for webpages?

Upon reviewing the webpage creation on PPMA, I found that the webpage language is a mandatory field, unlike the content snippet. Therefore, our current implementation should suffice.

@amitjoshi438 amitjoshi438 merged commit ebbb521 into main Dec 23, 2024
6 checks passed
@amitjoshi438 amitjoshi438 deleted the users/amitjoshi/noLangContentSnippetDisplay branch December 23, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants